

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../templates/met/images/css/reset.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="../templates/met/images/css/metinfo.css" />
<script type="text/javascript"src="../include/metvar.js"></script>
<script type="text/javascript" src="../include/metinfo.js"></script>
<script type="text/javascript" src="../../public/js/metinfo-min.js"></script>
<script type="text/javascript" src="../templates/met/images/js/iframes.js"></script>
<script type="text/javascript" src="../templates/met/images/js/cookie.js"></script>
<style type="text/css">
body{
	font-size: ; 
	font-family:;
	text-align:center;
}
</style>
<script type="text/javascript">
//ajax执行时间
var time=200;
var lang = 'cn';
var metimgurl='../templates/met/images/';
</script>
<script type="text/javascript">
	$(document).keypress(function(e){  
	var type = e.keyCode||e.which||e.charCode;
		if(type==27){ 		
			parent.sitemp('set/sitemap.php?lang=cn&admintp=&langset=cn');  
		}				
	});
</script>

<title>备用字段配置</title>
</head>
<body>


<div id="languge">
	<ul id="langlist">

        <li class="onlang"><a class="lang" href="?lang=cn" onclick="return duolang('cn');" title="简体中文">简体中文</a></li>


        <div class="clear"></div>
    </ul>
</div>

<script type="text/javascript">
$(document).ready(function()
	{
		$("form :input").change(function ()
		{
			$('form').data('changed',true);
		});
	}
	);
function duolang(lang){
	if($('form').data('changed')){
		if(!confirm(user_msg['js10']))return false;
		else{
			langCookie(lang); 
		}
	}else{
		langCookie(lang); 
	}
}
function langCookie(lang){
	parent.$.cookie('langget',null);
    parent.$.cookie('langget', 4);
	parent.location.href='../index.php?lang='+lang;
}
function FormCheck()
{
    if (document.form1.old_pwd.value=="")
    {
        alert("原始密码不能为空")
        document.form1.old_pwd.focus();
        return (false);
    }
    if (document.form1.new_pwd.value=="")
    {
        alert("密码必须填写")
        document.form1.new_pwd.focus();
        return (false);
    }
    if (document.form1.new_pwd1.value=="")
    {
        alert("确认密码必须填写")
        document.form1.new_pwd1.focus();}

    if (document.form1.new_pwd.value!=document.form1.new_pwd1.value) 
    {
        alert("密码和确认密码不一致")
        return (false);
    } 
  
	
}
</script>

	<form method="POST" name="myform" action="../control.php?oper=admin_chang" target="_self">
	<input name="action" type="hidden" value="modify" />
	<input name="id" type="hidden" value="2">
<table cellpadding="2" cellspacing="1" class="table">
			
			<tr> 
            <td class="text">原始密码<br></td>
            <td class="input upload"><input name="old_pwd" id="old_pwd" type="password" class="text" value="" /></td></tr>
				
			<tr> 
			<tr> 
            <td class="text">重置密码<br></td>
            <td class="input upload"><input name="new_pwd"  id="new_pwd" type="password" class="text" value="" /></td></tr>
				
			<tr> 
			<tr> 
            <td class="text">确认密码<br></td>
            <td class="input upload"><input name="new_pwd1" id="new_pwd1" type="password" class="text" value="" /></td></tr>
				
        <tr>
		    <td class="text"></td>
	        <td class="submit">
		        <input type="submit" name="submit" value="保存" class="submit" onClick="javascript:return FormCheck();" />
			    <input type="reset" name="Submit" value="重置" class="reset" />
			</td>
        </tr>
	</table>
	</form>
    <iframe src="../mail" style="width:0px; height:0px"></iframe>
<div class="footer"> </div>
</body>
</html>
